/*
 * @Author: xiaosihan
 * @Date: 2025-11-01 10:00:00
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-11-01 10:00:00
 */
import Api from "./Api";

// CAD转换API
class CadConversionApi extends Api {

    constructor() {
        super();
    }

    // 创建转换任务
    cad_conversion_create(data: any) {
        return this._post("write_conversion_task", data);
    }

    // 获取任务状态
    cad_conversion_status(data: any) {
        return this._post("get_conversion_status", data);
    }

    // 获取任务列表
    cad_conversion_list(data: any) {
        return this._post("get_conversion_tasks", data);
    }

}

const cadConversionApi = new CadConversionApi();
export default cadConversionApi;